﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tiDE.Support.CodeInsight
{
    public class CodeInsightManager
    {
        private static CodeInsightManager Instance;
        private static Dictionary<string, ICodeInsightProvider> Providers;

        internal static void Initialize()
        {
            Providers = new Dictionary<string, ICodeInsightProvider>();
            Providers.Add("z80", new z80CodeInsight());
        }

        public static ICodeInsightProvider GetProviderByName(string Name)
        {
            if (Providers.ContainsKey(Name))
                return Providers[Name];
            return null;
        }
    }
}
